<div class="space_header cc">
    <div class="title">
        <h1><a href="{$space.url}">{$space.name}</a></h1>
        <div class="num">访问量<span><em></em>{$space.hits}</span></div>
    </div>
    <div class="descrip"></div>
    <div class="space_nav">
        <ul>
            <li class="dr_category" select="0"><a href="{$space.url}">首页</a></li>
            <!--循环栏目开始 -->
            {loop $category $c}
            {if !$c.pid && ($c.showid == 1 || $c.showid == 3)}<!--这里表示循环显示顶部栏目，你就这样写就行了-->
            <li select="{$c.id}" class='dr_category'><a href='{dr_space_list_url($spaceid, $c.id)}' {if $c.type==0}target='_blank'{/if}>{$c.name}</a></li>
            {/if}
            {/loop}
        </ul>
    </div>
    <div class="url"><a href="{$space.url}">{$space.url}</a></div>
</div>
<div class="wz">当前位置：<a href="{dr_space_url($spaceid)}">首页</a> &gt; {dr_space_catpos($spaceid, $catid, ' > ')}</div>
